-- GENERATED SPELL FOR [Smolderwing] --


function spell0_23789(pUnit, Event) --@Smolderwing Fire Breath,n/a--
pUnit:FullCastSpellOnTarget(42433,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23789', 44304, 1)
end

function Sorts_23789(pUnit, Event)
local choix_sorts_23789 = math.random(0, 0)
if choix_sorts_23789 == 0 then
pUnit:RegisterEvent('spell0_23789', 1, 1)
end
end

function mob23789_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23789', math.random(1500, 3000), 1)
end

function mob23789_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23789_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23789_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23789, 1, 'mob23789_Action')
RegisterUnitEvent(23789, 2, 'mob23789_Leave')
RegisterUnitEvent(23789, 3, 'mob23789_Kill')
RegisterUnitEvent(23789, 4, 'mob23789_Die')
